import 'package:demo/provider/view_model/base_view_model.dart';

class RootViewModel extends BaseViewModel {
  /// 对应tabIndex
  int _tabIndex = 0;

  int get tabIndex => _tabIndex;

  set tabIndex(int i) {
    _tabIndex = i;
    notifyListeners();
  }
}
